package ch03.tist;

import ch03.Impl.RealBuyer;
import ch03.factory.IntermediaryCglibProxyFactory;
import org.apache.log4j.Logger;

public class Test6 {
    public static void main(String[] args) {
        Logger logger = Logger.getLogger(Test6.class);

        RealBuyer buyer = IntermediaryCglibProxyFactory.create(RealBuyer.class);
        String result = buyer.havealook();
        logger.debug(result);
    }
}
